<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="../src/x-editor.css">
</head>

<body>
    <div id="editor"></div>
    <script type="module">
        import XEditor from '../src/index.js'; const editor = new XEditor('#editor', { height: 'auto', maxHeight: '500px', placeholder: '输入文本' })
    </script>
</body>

</html>